<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>i2c: dbOpportunity Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">i2c
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">dbOpportunity Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="dbOpportunity" --><table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_opportunity.html#a770c3eef39022f2426f719145e1d282c">buildQuery</a> ($cat, $city, $search, $sort, $searchFor)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_opportunity.html#a0785aaa639cf656d77fdc1e833664d56">repPaid</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_opportunity.html#a240d7c4fd55fe1b16251d5c385e809f9">deleteFromOpportunity</a> ($id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_opportunity.html#a2fa0a0c52c0614e87c0962e995eb6267">updateOpportunity</a> ($id, $o)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_opportunity.html#a316a7f5c376a30ed3f4b5120470e434b">checkID</a> ($o)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_opportunity.html#a64d00cefa3073adbd4728a60ce74482d">getOpportunity</a> ($opportunityID)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_opportunity.html#aec9b0fef665ef9dfab3b8c63b7339bcd">getOpportunityID</a> ($o)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_opportunity.html#ae08ebacf19877370e18d4ddc9d70cf95">getOrganizationID</a> ($o)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_opportunity.html#aa182109adc81740de9cf1895474c3d2c">getContactID</a> ($o)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_opportunity.html#aa04834cf0a04caad6c1da743eedee5ba">getTitle</a> ($o)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_opportunity.html#a3f5dacb26be08e1c71a99ddfcefb6355">getNumPositionsAvailable</a> ($o)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_opportunity.html#ad4b8db2f34e538a27126e8a34db6dbdc">getSemester</a> ($o)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_opportunity.html#aba3eefe6517df04c9ad1fc9473954a1b">getPayRate</a> ($o)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_opportunity.html#a77900199aeddab8a2ac6101ceb9c2783">getDuration</a> ($o)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_opportunity.html#a5cb1cf39e5d1604b25873659a4d5ce71">getResponsibilities</a> ($o)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_opportunity.html#a32d19577d92e17b4ab00cafae0c4c69a">getQualifications</a> ($o)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_opportunity.html#a3735fc4415291382e7e16a01db4dc42b">getInstructions</a> ($o)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_opportunity.html#aa5dd7589303c722b539ed99baf47bf56">getComments</a> ($o)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_opportunity.html#a489d394095690d4789dc213e2e8f6a64">getCategories</a> ($o)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_opportunity.html#a8537d4bd19824f35db9bfdd246924129">getPending</a> ($o)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_opportunity.html#a033c71889aee7ed584f3ecada01764bc">getDateAdded</a> ($o)</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_opportunity.html#aea6c4d653e217f31256ded5783ed58f4">createTable</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_opportunity.html#ae2fe3bffe3a16a082e3ba2634240afca">getAllOpportunities</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_opportunity.html#aa6138359dee47e4b310d74fc17dc3ef0">addOpportunity</a> ($o, &amp;$id=null)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdb_opportunity.html#a2dfd5427fef776258f77a33a83c72411">getAllByID</a> ($id, &amp;$output=null)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Communicates with the <a class="el" href="class_contact.html">Contact</a> control file to know which student data to get and set. It is the only file that has the SQL queries and MySQL connections</p>
<dl class="copyright"><dt><b>Copyright:</b></dt><dd>2011 by Dan, Steven, Brice, Mike, and Aaron. This program is part of <a class="el" href="class_internship.html">Internship</a> 2 Career, which is free software. It comes with absolutely no warranty. You can redistribute or modify it under the terms of the GNU General Public License as published by the Free Software Foundation (For more information, see &lt;<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>).</dd></dl>
<dl class="version"><dt><b>Version:</b></dt><dd>March 6, 2011</dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Aaron Jarzombek and Brice Rader </dd></dl>

<p>Definition at line <a class="el" href="db_opportunity_8php_source.html#l00026">26</a> of file <a class="el" href="db_opportunity_8php_source.html">dbOpportunity.php</a>.</p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aa6138359dee47e4b310d74fc17dc3ef0"></a><!-- doxytag: member="dbOpportunity::addOpportunity" ref="aa6138359dee47e4b310d74fc17dc3ef0" args="($o, &amp;$id=null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static addOpportunity </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>o</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&amp;$&#160;</td>
          <td class="paramname"><em>id</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Adds an opportunity to the database. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">object</td><td class="paramname">$o</td><td>Class <a class="el" href="class_opportunity.html">Opportunity</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>bool Returns TRUE if query completes successfully. </dd></dl>

<p>Definition at line <a class="el" href="db_opportunity_8php_source.html#l00313">313</a> of file <a class="el" href="db_opportunity_8php_source.html">dbOpportunity.php</a>.</p>

</div>
</div>
<a class="anchor" id="a770c3eef39022f2426f719145e1d282c"></a><!-- doxytag: member="dbOpportunity::buildQuery" ref="a770c3eef39022f2426f719145e1d282c" args="($cat, $city, $search, $sort, $searchFor)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">buildQuery </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>cat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>city</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>search</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>sort</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>searchFor</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_opportunity_8php_source.html#l00098">98</a> of file <a class="el" href="db_opportunity_8php_source.html">dbOpportunity.php</a>.</p>

</div>
</div>
<a class="anchor" id="a316a7f5c376a30ed3f4b5120470e434b"></a><!-- doxytag: member="dbOpportunity::checkID" ref="a316a7f5c376a30ed3f4b5120470e434b" args="($o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">checkID </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Checks to see if the ID exists. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">object</td><td class="paramname">$o</td><td>Class <a class="el" href="class_opportunity.html">Opportunity</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>int Returns FALSE of ID cannot be found, and TRUE if ID is found. </dd></dl>

<p>Definition at line <a class="el" href="db_opportunity_8php_source.html#l00344">344</a> of file <a class="el" href="db_opportunity_8php_source.html">dbOpportunity.php</a>.</p>

</div>
</div>
<a class="anchor" id="aea6c4d653e217f31256ded5783ed58f4"></a><!-- doxytag: member="dbOpportunity::createTable" ref="aea6c4d653e217f31256ded5783ed58f4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static createTable </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_opportunity_8php_source.html#l00028">28</a> of file <a class="el" href="db_opportunity_8php_source.html">dbOpportunity.php</a>.</p>

</div>
</div>
<a class="anchor" id="a240d7c4fd55fe1b16251d5c385e809f9"></a><!-- doxytag: member="dbOpportunity::deleteFromOpportunity" ref="a240d7c4fd55fe1b16251d5c385e809f9" args="($id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">deleteFromOpportunity </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Deletes data from the <a class="el" href="class_opportunity.html">Opportunity</a> table.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype"><a class="el" href="class_opportunity.html">Opportunity</a></td><td class="paramname">$o</td><td>The data to be deleted. It has values for all the columns in the table, including primary key value.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>ture if the query is successful. </dd></dl>

<p>Definition at line <a class="el" href="db_opportunity_8php_source.html#l00183">183</a> of file <a class="el" href="db_opportunity_8php_source.html">dbOpportunity.php</a>.</p>

</div>
</div>
<a class="anchor" id="a2dfd5427fef776258f77a33a83c72411"></a><!-- doxytag: member="dbOpportunity::getAllByID" ref="a2dfd5427fef776258f77a33a83c72411" args="($id, &amp;$output=null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static getAllByID </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&amp;$&#160;</td>
          <td class="paramname"><em>output</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_opportunity_8php_source.html#l00597">597</a> of file <a class="el" href="db_opportunity_8php_source.html">dbOpportunity.php</a>.</p>

</div>
</div>
<a class="anchor" id="ae2fe3bffe3a16a082e3ba2634240afca"></a><!-- doxytag: member="dbOpportunity::getAllOpportunities" ref="ae2fe3bffe3a16a082e3ba2634240afca" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static getAllOpportunities </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Retrieves all the data in the table <a class="el" href="class_opportunity.html">Opportunity</a>.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Resource object that contains retrieved data. If query is fails, it returns false. </dd></dl>

<p>Definition at line <a class="el" href="db_opportunity_8php_source.html#l00075">75</a> of file <a class="el" href="db_opportunity_8php_source.html">dbOpportunity.php</a>.</p>

</div>
</div>
<a class="anchor" id="a489d394095690d4789dc213e2e8f6a64"></a><!-- doxytag: member="dbOpportunity::getCategories" ref="a489d394095690d4789dc213e2e8f6a64" args="($o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getCategories </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_opportunity_8php_source.html#l00555">555</a> of file <a class="el" href="db_opportunity_8php_source.html">dbOpportunity.php</a>.</p>

</div>
</div>
<a class="anchor" id="aa5dd7589303c722b539ed99baf47bf56"></a><!-- doxytag: member="dbOpportunity::getComments" ref="aa5dd7589303c722b539ed99baf47bf56" args="($o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getComments </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_opportunity_8php_source.html#l00541">541</a> of file <a class="el" href="db_opportunity_8php_source.html">dbOpportunity.php</a>.</p>

</div>
</div>
<a class="anchor" id="aa182109adc81740de9cf1895474c3d2c"></a><!-- doxytag: member="dbOpportunity::getContactID" ref="aa182109adc81740de9cf1895474c3d2c" args="($o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getContactID </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_opportunity_8php_source.html#l00415">415</a> of file <a class="el" href="db_opportunity_8php_source.html">dbOpportunity.php</a>.</p>

</div>
</div>
<a class="anchor" id="a033c71889aee7ed584f3ecada01764bc"></a><!-- doxytag: member="dbOpportunity::getDateAdded" ref="a033c71889aee7ed584f3ecada01764bc" args="($o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getDateAdded </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_opportunity_8php_source.html#l00583">583</a> of file <a class="el" href="db_opportunity_8php_source.html">dbOpportunity.php</a>.</p>

</div>
</div>
<a class="anchor" id="a77900199aeddab8a2ac6101ceb9c2783"></a><!-- doxytag: member="dbOpportunity::getDuration" ref="a77900199aeddab8a2ac6101ceb9c2783" args="($o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getDuration </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_opportunity_8php_source.html#l00485">485</a> of file <a class="el" href="db_opportunity_8php_source.html">dbOpportunity.php</a>.</p>

</div>
</div>
<a class="anchor" id="a3735fc4415291382e7e16a01db4dc42b"></a><!-- doxytag: member="dbOpportunity::getInstructions" ref="a3735fc4415291382e7e16a01db4dc42b" args="($o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getInstructions </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_opportunity_8php_source.html#l00527">527</a> of file <a class="el" href="db_opportunity_8php_source.html">dbOpportunity.php</a>.</p>

</div>
</div>
<a class="anchor" id="a3f5dacb26be08e1c71a99ddfcefb6355"></a><!-- doxytag: member="dbOpportunity::getNumPositionsAvailable" ref="a3f5dacb26be08e1c71a99ddfcefb6355" args="($o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getNumPositionsAvailable </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_opportunity_8php_source.html#l00443">443</a> of file <a class="el" href="db_opportunity_8php_source.html">dbOpportunity.php</a>.</p>

</div>
</div>
<a class="anchor" id="a64d00cefa3073adbd4728a60ce74482d"></a><!-- doxytag: member="dbOpportunity::getOpportunity" ref="a64d00cefa3073adbd4728a60ce74482d" args="($opportunityID)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getOpportunity </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>opportunityID</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Gets all the opportunity information for an opportunity with a certain ID </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">int</td><td class="paramname">$opportunityID</td><td>ID opportunityID of opportunity you want to get </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>object Returns FALSE of the ID ID does not exist, or an <a class="el" href="class_opportunity.html">Opportunity</a> object if it does. </dd></dl>

<p>Definition at line <a class="el" href="db_opportunity_8php_source.html#l00367">367</a> of file <a class="el" href="db_opportunity_8php_source.html">dbOpportunity.php</a>.</p>

</div>
</div>
<a class="anchor" id="aec9b0fef665ef9dfab3b8c63b7339bcd"></a><!-- doxytag: member="dbOpportunity::getOpportunityID" ref="aec9b0fef665ef9dfab3b8c63b7339bcd" args="($o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getOpportunityID </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_opportunity_8php_source.html#l00394">394</a> of file <a class="el" href="db_opportunity_8php_source.html">dbOpportunity.php</a>.</p>

</div>
</div>
<a class="anchor" id="ae08ebacf19877370e18d4ddc9d70cf95"></a><!-- doxytag: member="dbOpportunity::getOrganizationID" ref="ae08ebacf19877370e18d4ddc9d70cf95" args="($o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getOrganizationID </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_opportunity_8php_source.html#l00401">401</a> of file <a class="el" href="db_opportunity_8php_source.html">dbOpportunity.php</a>.</p>

</div>
</div>
<a class="anchor" id="aba3eefe6517df04c9ad1fc9473954a1b"></a><!-- doxytag: member="dbOpportunity::getPayRate" ref="aba3eefe6517df04c9ad1fc9473954a1b" args="($o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getPayRate </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_opportunity_8php_source.html#l00471">471</a> of file <a class="el" href="db_opportunity_8php_source.html">dbOpportunity.php</a>.</p>

</div>
</div>
<a class="anchor" id="a8537d4bd19824f35db9bfdd246924129"></a><!-- doxytag: member="dbOpportunity::getPending" ref="a8537d4bd19824f35db9bfdd246924129" args="($o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getPending </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_opportunity_8php_source.html#l00569">569</a> of file <a class="el" href="db_opportunity_8php_source.html">dbOpportunity.php</a>.</p>

</div>
</div>
<a class="anchor" id="a32d19577d92e17b4ab00cafae0c4c69a"></a><!-- doxytag: member="dbOpportunity::getQualifications" ref="a32d19577d92e17b4ab00cafae0c4c69a" args="($o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getQualifications </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_opportunity_8php_source.html#l00513">513</a> of file <a class="el" href="db_opportunity_8php_source.html">dbOpportunity.php</a>.</p>

</div>
</div>
<a class="anchor" id="a5cb1cf39e5d1604b25873659a4d5ce71"></a><!-- doxytag: member="dbOpportunity::getResponsibilities" ref="a5cb1cf39e5d1604b25873659a4d5ce71" args="($o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getResponsibilities </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_opportunity_8php_source.html#l00499">499</a> of file <a class="el" href="db_opportunity_8php_source.html">dbOpportunity.php</a>.</p>

</div>
</div>
<a class="anchor" id="ad4b8db2f34e538a27126e8a34db6dbdc"></a><!-- doxytag: member="dbOpportunity::getSemester" ref="ad4b8db2f34e538a27126e8a34db6dbdc" args="($o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getSemester </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_opportunity_8php_source.html#l00457">457</a> of file <a class="el" href="db_opportunity_8php_source.html">dbOpportunity.php</a>.</p>

</div>
</div>
<a class="anchor" id="aa04834cf0a04caad6c1da743eedee5ba"></a><!-- doxytag: member="dbOpportunity::getTitle" ref="aa04834cf0a04caad6c1da743eedee5ba" args="($o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getTitle </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_opportunity_8php_source.html#l00429">429</a> of file <a class="el" href="db_opportunity_8php_source.html">dbOpportunity.php</a>.</p>

</div>
</div>
<a class="anchor" id="a0785aaa639cf656d77fdc1e833664d56"></a><!-- doxytag: member="dbOpportunity::repPaid" ref="a0785aaa639cf656d77fdc1e833664d56" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">repPaid </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="db_opportunity_8php_source.html#l00158">158</a> of file <a class="el" href="db_opportunity_8php_source.html">dbOpportunity.php</a>.</p>

</div>
</div>
<a class="anchor" id="a2fa0a0c52c0614e87c0962e995eb6267"></a><!-- doxytag: member="dbOpportunity::updateOpportunity" ref="a2fa0a0c52c0614e87c0962e995eb6267" args="($id, $o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">updateOpportunity </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"><em>o</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Updates opportunity information. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramtype">object</td><td class="paramname">$o</td><td>Class <a class="el" href="class_opportunity.html">Opportunity</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>int returns 0 if there was an error updating, else returns 1 </dd></dl>

<p>Definition at line <a class="el" href="db_opportunity_8php_source.html#l00204">204</a> of file <a class="el" href="db_opportunity_8php_source.html">dbOpportunity.php</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>C:/Users/Jon/Downloads/OOP/db-control/<a class="el" href="db_opportunity_8php_source.html">dbOpportunity.php</a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Tue Nov 29 2011 18:18:56 for i2c by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
